<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-model="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--
    Vue双向绑定
    v-model="message"
  -->
<div id="app">
    请输入：<input type="text" v-model="message">{{message}}
    <br/>
    <input type="radio" value="男" name="sex" v-model="msg">男
    <input type="radio" value="女" name="sex" v-model="msg">女
    {{msg}}
</div>

<!--导入vue.js cdn-->
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.min.js"></script>
<script>
   var vm = new Vue({
       el: "#app",
       data: {
           message: "",
           msg: ""
       }
   });
</script>

</body>
</html>